﻿<Application x:Class="LayoutPlanning.App"
             
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             d1p1:Ignorable="d" 
             xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:viewModel="clr-namespace:LayoutPlanning.ViewModel"
             xmlns:layoutPlanning="clr-namespace:LayoutPlanning"
             xmlns:converters="clr-namespace:LayoutPlanning.Converters"
             xmlns:pt="http://propertytools.org/wpf"
             xmlns:converters1="clr-namespace:Toolbox.Metadatas.Converters;assembly=Toolbox"
             xmlns:model="clr-namespace:LayoutPlanning.Model"
             StartupUri="Views/MainView.xaml" >
  <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary>
                    <viewModel:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />
                </ResourceDictionary>
                <ResourceDictionary Source="/Themes/Style.xaml"/>
             

            </ResourceDictionary.MergedDictionaries>
            
            <converters:MouseButtonEventArgsToPointConverter  x:Key="MouseButtonEventArgsToPointConverter" />
            <converters:DrawTypeToCursor x:Key="BoolToCursor" />
            <converters:MouseButtonEventArgsToStationConverter x:Key="MouseButtonEventArgsToStationConverter" />
            <BooleanToVisibilityConverter    x:Key="BoolToVisability" />
            <converters:TaskTypeToVisabilityConverter x:Key="TaskTypeToVisability" />
            <pt:NullToBoolConverter NullValue="False" x:Key="NullToBool" />
            <pt:NullToBoolConverter NullValue="True" x:Key="NullToBoolTrue" />
            <converters:LoudnessToVisibility x:Key="LoudnessToBool" />
            <converters:ValueToThicknessConverter x:Key="ValueToThickness" />
            <converters:EnumToValueConverter x:Key="EnumToValue" />
            <converters:NullToVisibilityConverter VisibleInDesign="True"  NullVisibility="Visible" NotNullVisibility="Collapsed" x:Key="NullToVisibilityConverter" />

            <converters:NullToVisibilityConverter VisibleInDesign="True" NullVisibility="Collapsed" NotNullVisibility="Visible" x:Key="NullToVisibilityConverterInverted" />
            <converters:ObjectsIsEqualConverter x:Key="ObjectEqual" />
            <converters:TransformConverter  x:Key="PositionToTransform" />
            <converters:PointToPos x:Key="PointToPos" />
            <converters:DependencyPropertyChangedToBool x:Key="DependencyPropertyChangedToBool" />
            <converters:ZoomToWidth x:Key="ZoomToWidth" />
            <converters:ZoomToLable x:Key="ZoomToLable" />
            <SolidColorBrush x:Key="BaseBackground-Sketch" Color="DarkOrange" Opacity="90" />
            <SolidColorBrush x:Key="BaseBorder-Sketch" Color="Blue"  />
            <converters:ExponentialValue x:Key="LogNormal" />
            <converters:MutiplyValue x:Key="ParentWidthToWidth" />
            <converters:TimeSpanToDouble x:Key="TimeSpanToSeconds"  />
            <converters:ZoomToStrokeThickness x:Key="ZoomToStrokeThickness"  />
            <converters:SubtractValues x:Key="SubtractValues" />
            <converters:RectToMarginConvertor x:Key="RectangelToMargin" />
            <pt:EnumToBooleanConverter EnumType="model:ControlType"   x:Key="ControlTypeChecked" />


        </ResourceDictionary>
          
    </Application.Resources>
    
</Application>
